
Last chance! 50% off unlimited learning
Sale ends in
Estimation of the parameters of a fitted Dirichlet distribution.
diri.est(x, type = "mle")
A matrix containing compositional data.
If you want to estimate the parameters use type="mle". If you want to estimate the mean vector along with the precision parameter, the second parametrisation of the Dirichlet, use type="prec".
A list including:
The value of the log-likelihood.
The estimated parameters.
The estimated precision parameter, if type = "prec".
The estimated mean vector, if type = "prec".
The run time of the maximisation procedure.
Maximum likelihood estimation of the parameters of a Dirichlet distribution is performed.
Ng Kai Wang, Guo-Liang Tian and Man-Lai Tang (2011). Dirichlet and related distributions: Theory, methods and applications. John Wiley & Sons.
Aitchison J. (1986). The statistical analysis of compositional data. Chapman & Hall.
# NOT RUN {
x <- rdiri( 100, c(5, 7, 1, 3, 10, 2, 4) )
diri.est(x)
diri.est(x, type = "prec")
# }
Run the code above in your browser using DataLab